/*
 * @Description: 
 * @Author: mmzhang
 * @Date: 2023-02-13 14:13:39
 * @LastEditTime: 2023-02-17 09:55:09
 */
import biApi from '@/config/server/api/bi.js'
import orderApi from '@/config/server/api/order.js'
import dt from '@dt/dt'

function getScreens(month) {
  return biApi.rankJumpReport.bonusRankPointsScreen.fetch({
    housesId: dt.buildInfo().housesId,
    month
  })
}

//职级跳点报表
function getList(month, rankPointsId) {
  return orderApi.rankJumpReport.bonusRankPointsReport.fetch({
    housesId: dt.buildInfo().housesId,
    month,
    rankPointsId
  })
}

// 导出
function bonusRankPointsExport(month, rankPointsId) {
  return orderApi.rankJumpReport.bonusRankPointsExport.fetch({
    housesId: dt.buildInfo().housesId,
    month,
    rankPointsId
  })
}

export default{
  getScreens,
  getList,
  bonusRankPointsExport
}